package fr.norsys.mapper.console.service;

import java.util.List;
import java.util.Set;

import net.sf.navigator.menu.MenuRepository;
import fr.norsys.mapper.console.model.Connection;

public interface LdapTreeBuilder {
	MenuRepository buildTree(MenuRepository oldRepository, String root, String contextPath) throws Exception;
	void setConnection(Connection connection);
	boolean isAttributeMandatory(String ldapAttribute, String root);
	Set getMandatoryAttributes(String root);
	Set getAllAttributes(String root);
	List getChildren(String root);
}
